import logging

from odoo import api, fields, models, _

_logger = logging.getLogger(__name__)


class StockPicking(models.Model):
    _inherit = 'stock.picking'

    picking_type_barcode = fields.Char(related='picking_type_id.barcode', string='Barcode', store=True)
